import request from '@/utils/request';

/**
 * 获取老干部列表
 * @param {*} params
 */
export async function getDataList(params) {
  return request(`${params.path}`, {
    method: 'GET',
    params: { type: params.type, name: params.name, title: params.title },
  });
}
